package com.niiwoo.civet.mobile.vo.response.intelligenceInvest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by HuangMin on 2018/10/26.
 */
@Getter
@Setter
@ApiModel("智能投包订单列表参数")
public class IntelligenceInvestOrder {

    @ApiModelProperty(value = "包投资订单编号", required = true)
    private Long packageInvestOrderId;
    @ApiModelProperty(value = "包名称",  required = true)
    private String title;
    @ApiModelProperty(value = "借款期限", required = true)
    private Integer deadline;
    @ApiModelProperty(value = "借款期限单位-1月，2天", required = true)
    private Byte deadlineUnit;
    @ApiModelProperty(value = "借款利率", required = true)
    private BigDecimal borrowRate;
    @ApiModelProperty(value = "标的加息(不加为0)", required = true)
    private BigDecimal addRate;
    @ApiModelProperty(value = "订单状态:0处理中，1投资中，2回款中，3回款逾期，4已关闭，5已结清", required = true)
    private Byte status;
    @ApiModelProperty(value = "投资本金", required = true)
    private BigDecimal amount;
    @ApiModelProperty(value = "参考收益=参考利息+参考加息", required = true)
    private BigDecimal interest;
    @ApiModelProperty(value = "提交时间/结束时间", required = true)
    private Date time;
    @ApiModelProperty(value = "包类型(1：普通智能投，2：新手智能投)", required = true)
    private Byte packageType;
    @ApiModelProperty(value = "智能投个数", required = true)
    private Integer intelligenceCount;

}
